import { http } from "@/utils";

export const logintApi = (data)=>{
    return http({
        url:'/authorizations',
        method:'POST',
        data:data
    })
}
export const getUserInfoApi = (params)=>{
    return http({
        url:'/user/profile',
        method:'GET',
        params
    })
}